/*    */ package com.qmsk.business.info.service.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class ServiceDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfShopId(Integer shopId, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 34 */     Map params = new HashMap();
/* 35 */     params.put("shopId", shopId);
/* 36 */     return getGsonOfParams(
/* 37 */       "selectSqlOfShopId", "selectCountSqlOfShopId", 
/* 38 */       "selectJsonOfShopId", params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfShopIdWashCar(Integer shopId, Integer washCar, Integer nPageIdx, Short nPageSize) throws SQLException
/*    */   {
/* 43 */     Map params = new HashMap();
/* 44 */     int status = 0;
/* 45 */     params.put("shopId", shopId);
/* 46 */     params.put("washCar", washCar);
/* 47 */     params.put("status", Integer.valueOf(status));
/* 48 */     return getGsonOfParams(
/* 49 */       "selectSqlOfShopId", "selectCountSqlOfShopId", 
/* 50 */       "selectJsonOfShopId", params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public int getSvsStatus(Integer srvId) throws SQLException {
/* 54 */     Object[] params = { srvId };
/* 55 */     return queryForInt("selectSqlSvsStatus", params, Integer.valueOf(0)).intValue();
/*    */   }
/*    */ 
/*    */   public int getSvsNum(Integer srvId) throws SQLException {
/* 59 */     Object[] params = { srvId };
/* 60 */     return queryForInt("selectSqlSvsNum", params, Integer.valueOf(0)).intValue();
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.info.service.dao.ServiceDAO
 * JD-Core Version:    0.5.3
 */